package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.EtPartnercheckwayMapper;
import com.ktgj.other.domain.EtPartnercheckway;
import com.ktgj.other.service.IEtPartnercheckwayService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@Service
public class EtPartnercheckwayServiceImpl implements IEtPartnercheckwayService 
{
    @Autowired
    private EtPartnercheckwayMapper etPartnercheckwayMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param partnercheckwayid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public EtPartnercheckway selectEtPartnercheckwayById(Long partnercheckwayid)
    {
        return etPartnercheckwayMapper.selectEtPartnercheckwayById(partnercheckwayid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param etPartnercheckway 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EtPartnercheckway> selectEtPartnercheckwayList(EtPartnercheckway etPartnercheckway)
    {
        return etPartnercheckwayMapper.selectEtPartnercheckwayList(etPartnercheckway);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param etPartnercheckway 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEtPartnercheckway(EtPartnercheckway etPartnercheckway)
    {
        return etPartnercheckwayMapper.insertEtPartnercheckway(etPartnercheckway);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param etPartnercheckway 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEtPartnercheckway(EtPartnercheckway etPartnercheckway)
    {
        return etPartnercheckwayMapper.updateEtPartnercheckway(etPartnercheckway);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param partnercheckwayids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtPartnercheckwayByIds(Long[] partnercheckwayids)
    {
        return etPartnercheckwayMapper.deleteEtPartnercheckwayByIds(partnercheckwayids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param partnercheckwayid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtPartnercheckwayById(Long partnercheckwayid)
    {
        return etPartnercheckwayMapper.deleteEtPartnercheckwayById(partnercheckwayid);
    }
}
